// 所有请求的统一出口

// 导入登录方法
import { login, getProfile, getUserProfile, getUserphoto } from './login'
import {
  getChannels,
  getAllChannels,
  addChannesl,
  delChannels
} from './channels'
import { getComments, setComments } from './comments'

import {
  getArticles,
  getDetails,
  getArticleLikings,
  following,
  getArticleDislikings,
  getArticleLove,
  getArticleDisLove
} from './news'
import { getSuggestion, getSearch } from './search'

// 统一导出
export const loginApi = login
export const getProfileApi = getProfile
export const getUserProfileApi = getUserProfile
export const getUserphotoApi = getUserphoto
export const getChannelsApi = getChannels
export const getArticlesApi = getArticles
export const getDetailsApi = getDetails
export const followingApi = following
export const getArticleLikingsApi = getArticleLikings
export const getArticleDislikingsApi = getArticleDislikings
export const getArticleLoveApi = getArticleLove
export const getArticleDisLoveApi = getArticleDisLove
export const getCommentsApi = getComments
export const setCommentsApi = setComments
export const getAllChannelsApi = getAllChannels
export const addChanneslApi = addChannesl
export const delChannelsApi = delChannels
export const getSuggestionApi = getSuggestion
export const getSearchApi = getSearch
